<template>
	<div>
	  <h1>西瓜播放器XgPlayer演示</h1>
	  <hr />
	  <div>
		<!-- <scVideo :url="videoUrl" @triggerEvent="triggerEvent" ></scVideo> -->
	  </div>
	</div>
  </template>
  <script>
  
  //import scVideo from '@/components/scVideo';
  import scVideo from '@/components/scEcharts';

  export default {
	name:"scVideo",
	// 注册组件
	components: {
		scVideo,
	},
	data() {
	  return {
		videoUrl: `/video/30周年完整+音乐音效3.mp4`,
	  };
	},
	methods: {
	  // 监听到子组件传过来的播放状态 true是播放 false是暂停
	  triggerEvent(value){
		console.log("是否播放：",value);
	  },
	},
  };
  </script>
  <style >

  </style>
  
  